#region Header
//=============================================================================
//                          GShield (Game Shield)
//=============================================================================
//
// Original Programmer: Shawn Jackson
// Company: WaveTech Digital Technologies, Inc. (http://www.wtdt.com)
// Copyright: (c) 2006 WaveTech Digital Technologies, Inc. All Rights Reserved.
// Assembly: Library
// Code File Name: Message.cs
// Code File Date: 12/8/2006
//
// Code File Info: Message Object Definiation
//=============================================================================
/*
 * UPDATES
 * -------
 *			ShawnJ 5/4/2007 (0.9.0.x): Refactoring for OSS.
 *			ShawnJ 8/7/2007 (0.9.5.x): Code Commenting.
 */
#endregion Header

#region License
/*
  GShield - Game Shield
  Copyright (C) 2006-2007 WaveTech Digital Technologies, Inc.
                                http://www.wtdt.com

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
*/
#endregion License

#region Includes
using System;
#endregion Includes

namespace WaveTech.GShield.Library.Objects
{
  /// <summary>
  /// Class defining a Message object
  /// </summary>
	[Serializable]
  public class Message
	{
		#region Private Members
		private string m_from;
		private string m_to;
		private string m_subject;
		private string m_body;
		private string m_bodyHtml;
		private string m_attachmentPath;
		#endregion Private Members

		#region Public Properties
		/// <summary>
		/// Who the message is from (email address)
		/// </summary>
		public string From
    {
      get { return m_from; }
      set { m_from = value; }
    }

		/// <summary>
		/// The Recipient of the message (email address)
		/// </summary>
    public string To
    {
      get { return m_to; }
      set { m_to = value; }
    }

		/// <summary>
		/// Subject of the message
		/// </summary>
    public string Subject
    {
      get { return m_subject; }
      set { m_subject = value; }
    }

		/// <summary>
		/// Body of the message
		/// </summary>
    public string Body
    {
      get { return m_body; }
      set { m_body = value; }
    }

		/// <summary>
		/// Body of the message represted as HTML
		/// </summary>
    public string BodyHtml
    {
      get { return m_bodyHtml; }
      set { m_bodyHtml = value; }
    }

		/// <summary>
		/// Full path to a single attachment, if there is one.
		/// </summary>
    public string AttachmentPath
    {
      get { return m_attachmentPath; }
      set { m_attachmentPath = value; }
    }
    #endregion Public Properties
  }
}